<template>
<div>
    <div class="pic-box">
        <a href="http://uat.nlxdt.com:9003" target="blank">
            <img :src="PICsPACE+PicInternetReport" alt class="pic-internet-report" :style="{'object-fit': 'cover'}" />
            <!--<img :src="pic" alt class="pic-internet-report" />-->
        </a>
    </div>
</div>
</template>

<script>
import pic from "@/assets/image/网上举报.png"
export default {
    data() {
        return {
            PicInternetReport: "",
            PICsPACE: sessionStorage.getItem("picSpace"),
            pic: pic,
        };
    },
    created() {
        this.get();
        // console.log(this.baseUrl, "图PIN路径");
    },
    //图片根地址
    computed: {
        baseUrl() {
            return this.$store.state.fileIp;
        },
    },
    methods: {
        get() {
            //网上举报
            this.Api.getinternet().then((res) => {
                this.PicInternetReport = res.data.onlneBgpic;
                console.log(this.PicInternetReport);
            });
        },
    },
};
</script>

<style scoped>
.pic-internet-report {
    width: 920px;
    height: 460px;
}

.pic-box {
    min-width: 920px;
    min-height: 460px;
    background: white;
    padding: 41px 40px;
}
</style>
